﻿using System;
using UnityEngine;
using UnityEngine.Networking;

// Token: 0x020000AC RID: 172
public class ExamplePlayer : NetworkBehaviour
{
	// Token: 0x06000401 RID: 1025 RVA: 0x00021194 File Offset: 0x0001F394
	private void Update()
	{
		if (!base.isLocalPlayer)
		{
			return;
		}
		Vector3 a = Vector3.zero;
		if (Input.GetKey(KeyCode.UpArrow))
		{
			a = Vector3.up;
		}
		else if (Input.GetKey(KeyCode.DownArrow))
		{
			a = Vector3.down;
		}
		else if (Input.GetKey(KeyCode.LeftArrow))
		{
			a = Vector3.left;
		}
		else if (Input.GetKey(KeyCode.RightArrow))
		{
			a = Vector3.right;
		}
		base.transform.position += a * Time.deltaTime * 5f;
	}

	// Token: 0x06000402 RID: 1026 RVA: 0x00002973 File Offset: 0x00000B73
	private void UNetVersion()
	{
	}

	// Token: 0x06000403 RID: 1027 RVA: 0x00021244 File Offset: 0x0001F444
	public override bool OnSerialize(NetworkWriter writer, bool forceAll)
	{
		bool result;
		return result;
	}

	// Token: 0x06000404 RID: 1028 RVA: 0x00002973 File Offset: 0x00000B73
	public override void OnDeserialize(NetworkReader reader, bool initialState)
	{
	}
}
